package com.yanqu.road.logic.bussiness.player;

import com.yanqu.road.entity.assistant.AssistantShopSet;
import com.yanqu.road.logic.bussiness.DaoHelper;

import java.util.Map;

/**
 * @author ：zfr
 * @date ：2021/11/11 17:27
 */
public class UserAssistantShopBusiness {
    public static Map<Integer, AssistantShopSet> getAssistantShopMap(long userId) {
        return DaoHelper.getUserAssistantShopDaoImpl().getAssistantShopMap(userId);
    }

    public static boolean addData(AssistantShopSet data) {
        return DaoHelper.getUserAssistantShopDaoImpl().add(data);
    }

    public static boolean updateData(AssistantShopSet data) {
        return DaoHelper.getUserAssistantShopDaoImpl().update(data);
    }
}

